From 648c3b39f3530040af343ecb95ebfd4b4b09aa2c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 10 May 2015 01:30:38 -0400 Subject: [PATCH] input methods: Add a 'vertical text' hint This has been requested in https://bugzilla.gnome.org/show_bug.cgi?id=747150 --- gtk/gtkenums.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index c8dc5b5f2f..d2ada7e8a6 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -1033,6 +1033,7 @@ typedef enum * first word of each sentence * @GTK_INPUT_HINT_INHIBIT_OSK: Suggest to not show an onscreen keyboard * (e.g for a calculator that already has all the keys). + * @GTK_INPUT_HINT_VERTICAL_WRITING: The text is vertical. Since 3.18 * * Describes hints that might be taken into account by input methods * or applications. Note that input methods may already tailor their @@ -1056,7 +1057,8 @@ typedef enum GTK_INPUT_HINT_UPPERCASE_CHARS = 1 << 4, GTK_INPUT_HINT_UPPERCASE_WORDS = 1 << 5, GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6, - GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7 + GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7, + GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8 } GtkInputHints; /** -- 2.30.2